package me.huanmeng.heater.signalling.extra.data.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.huanmeng.heater.object.UserInfo;
import me.huanmeng.heater.signalling.ChannelType;
import me.huanmeng.heater.signalling.extra.SignallingExtraData;

import java.util.UUID;

/**
 * 2021/9/28<br>
 * Heater<br>
 *
 * @author huanmeng_qwq
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CardButtonClick extends SignallingExtraData<String> {
    protected CardButtonClickBody body;

    @Override
    public ChannelType getChannelType() {
        return ChannelType.PERSON;
    }

    @Data
    public static class CardButtonClickBody {
        protected String user_id;
        protected UUID msg_id;
        protected String value;
        protected String target_id;
        protected String guild_id;
        protected UserInfo user_info;
    }
}
